package com.lxw.study.behavioral.responsibilitychain.unionspring;


import org.springframework.stereotype.Component;

import javax.annotation.PostConstruct;
import javax.annotation.Resource;

@Component("responsibilityChainClient")
public class Client {
    @Resource
    HandlerChain handlerChain;

    @PostConstruct
    public void test() {
        handlerChain.handler("a", false);
    }
}
